<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<h1>Register</h1>
<img th:src="@{/img/2.jpeg}"/>
<center>
<form method="POST" th:action="@{/register}" id="register">

    <label >用户名: </label>
    <input type="text" name="username"/><br/>

    <label >密码: </label>
    <input type="password" name="password"/><br/>


    <input type="submit" value="点击注册"/>
</form>
</center>
</body>
</html>